.wrap{
  display: flex;
  flex-wrap:wrap;
  margin-top: 20px;
}
.item{
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin-bottom: 20px;
  margin-right: 20px;
}
.item>img{
width: 150px;
height: 150px;
}